{extend name="adminheader:header"/}
{block name="content"}
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>合伙人申请列表</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="table-responsive">
                            <table class="table table-striped table-hover ">
                                <thead>
                                    <tr>
                                        <th width="50">序号</th>
                                        <th width="150">协议名称</th>
                                        <th width="200">操作</th>
                                    </tr>
                                </thead>
                                <tbody>
                                {if condition="$list neq null"}
                                    {volist name="list" id="vo"}
                                        <tr>
                                            <td>{$vo.id}</td> 
                                            <td>{$vo.m_name}</td>
                                            <td>
                                                <a href="{:url('/admin/Partner/editwelfare',array('id'=>$vo['id']))}" class="btn btn-primary">编辑</a>
                                                <a href="{:url('/admin/Partner/deletewelfare',array('id'=>$vo['id']))}" class="btn btn-danger js-ajax-delete">删除</a>
                                            </td>
                                        </tr>
                                    {/volist}
                                {else/}
                                    <tr>
                                        <td style="font-size:20px;float: left">暂无数据</td>
                                    </tr>
                                {/if}
                                </tbody>
                            </table>
                            <div class="text-right pages">
                                
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<script src="/admin/js/admin.js"></script>
{/block}